|
|
|
|
|
|
|
This option is very subjective; however, I prefer the value 3. This means that three spaces will be inserted into the code window whenever the Tab key is pressed. Indention is very important for the readability of code. I find that two spaces are not enough to distinguish the levels sufficiently, whereas anymore than three can sometimes require panning back and forth in the code window if the lines of code get too long. Of course you can always use the line continuation character _ to break up your lines if they get too long. |
|
|
|
|
|
|
|
|
Under this tab are options that affect the design grid on forms, error trapping, compiling, and other miscellaneous items. |
|
|
|
|
|
|
|
|
The Width and Height properties should be set to a multiple of 15 because 15 twips per pixel is a standard measurement for most monitors. In addition, the minimum size of a combo box (a control youll use quite a bit) is 300 twips. The number 15 will divide into 300 evenly, so this makes lining up controls much easier. My preferred number is 60 for the Width and Height properties. |
|
|
|
|
What Are Twips? Throughout Visual Basic, units are generally measured in twips. Twip stands for twentieth of a point. A point is a typographical unit of measure that equates to 1/72nd of an inch. Therefore, a twip equates to 1/1440th of an inch. On a printer, 1,440 twips will equate exactly to one inch. However, on the screen, a larger or smaller monitor will change this size. A twip on the screen is only accurate in relation to font sizes. For example, 200 twips will equal the height of a 10-point font (approximately). |
|
|
|